﻿/******************************************************************************************************
Copyright (c) 2014 Steven Giacomelli (stevegiacomelli@gmail.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
******************************************************************************************************/

namespace SharpGeo.IO.WellKnown
{
    /// <summary>
    /// Defines geometry and coordinate reference system Types used in the WellKnownText and WellKnownBinary format
    /// </summary>
    public enum WellKnownKeyword
    {
        /// <summary>
        /// Represents an unknown or null type
        /// </summary>
        Unknown = -1,

        /// <summary>
        /// A geometry
        /// </summary>
        Geometry = 0,

        /// <summary>
        /// Represents a simple point
        /// </summary>
        Point = 1,

        /// <summary>
        /// Represents a line string
        /// </summary>
        LineString = 2,

        /// <summary>
        /// Represents a polygon
        /// </summary>
        Polygon = 3,

        /// <summary>
        /// Represents a multi point
        /// </summary>
        Multipoint = 4,

        /// <summary>
        /// Represents a multi line string
        /// </summary>
        MultiLineString = 5,

        /// <summary>
        /// Represents a multi polygon
        /// </summary>
        MultiPolygon = 6,

        /// <summary>
        /// Represents a geometry collection
        /// </summary>
        GeometryCollection = 7,

        /// <summary>
        /// A circular string
        /// </summary>
        CircularString = 8,

        /// <summary>
        /// A compound curve
        /// </summary>
        CompoundCurve = 9,

        /// <summary>
        /// A curve polygon
        /// </summary>
        CurvePolygon = 10,

        /// <summary>
        /// A multi curve
        /// </summary>
        MultiCurve = 11,

        /// <summary>
        /// A multi surface
        /// </summary>
        MultiSurface = 12,

        /// <summary>
        /// A curve
        /// </summary>
        Curve = 13,

        /// <summary>
        /// A surface
        /// </summary>
        Surface = 14,

        /// <summary>
        /// Represents a polyhedral surface
        /// </summary>
        Polyhedron = 15,

        /// <summary>
        /// Represents a polyhedral surface
        /// </summary>
        PolyhedralSurface = Polyhedron,

        /// <summary>
        /// Represents a triangulated irregular network
        /// </summary>
        TriangulatedIrregularNetwork = 16,

        /// <summary>
        /// Represents a triangle
        /// </summary>
        Triangle = 17,

        /// <summary>
        /// A geometry with a Z value
        /// </summary>
        GeometryZ = 1000,

        /// <summary>
        /// Represents a point with a Z value
        /// </summary>
        PointZ = 1001,

        /// <summary>
        /// Represents a line string with Z values
        /// </summary>
        LineStringZ = 1002,

        /// <summary>
        /// Represents a polygon with Z values
        /// </summary>
        PolygonZ = 1003,

        /// <summary>
        /// Represents a multi point with Z values
        /// </summary>
        MultiPointZ = 1004,

        /// <summary>
        /// Represents a multi line string with Z values
        /// </summary>
        MultiLineStringZ = 1005,

        /// <summary>
        /// Represents a multi polygon with Z values
        /// </summary>
        MultiPolygonZ = 1006,

        /// <summary>
        /// Represents a geometry collection with Z values
        /// </summary>
        GeometryCollectionZ = 1007,

        /// <summary>
        /// A circular string with Z values
        /// </summary>
        CircularStringZ = 1008,

        /// <summary>
        /// A compound curve with Z values
        /// </summary>
        CompoundCurveZ = 1009,

        /// <summary>
        /// A curve polygon with Z values
        /// </summary>
        CurvePolygonZ = 1010,

        /// <summary>
        /// A multi curve with Z values
        /// </summary>
        MultiCurveZ = 1011,

        /// <summary>
        /// A multi surface with Z values
        /// </summary>
        MultiSurfaceZ = 1012,

        /// <summary>
        /// A curve with Z values
        /// </summary>
        CurveZ = 1013,

        /// <summary>
        /// A surface with Z values
        /// </summary>
        SurfaceZ = 1014,

        /// <summary>
        /// Represents a polyhedral surface with Z values
        /// </summary>
        PolyhedralSurfaceZ = 1015,

        /// <summary>
        /// Represents a polyhedral surface with Z values
        /// </summary>
        PolyhedronZ = PolyhedralSurfaceZ,

        /// <summary>
        /// Represents a triangulated irregular network with Z values
        /// </summary>
        TriangulatedIrregularNetworkZ = 1016,

        /// <summary>
        /// Represents a triangle with Z values
        /// </summary>
        TriangleZ = 1017,

        /// <summary>
        /// Geometry with M values
        /// </summary>
        GeometryM = 2000,

        /// <summary>
        /// Represents a point with M values
        /// </summary>
        PointM = 2001,

        /// <summary>
        /// Represents a line string with M values
        /// </summary>
        LineStringM = 2002,

        /// <summary>
        /// Represents a polygon with M values
        /// </summary>
        PolygonM = 2003,

        /// <summary>
        /// Represents a multi point with M values
        /// </summary>
        MultiPointM = 2004,

        /// <summary>
        /// Represents a multi line string with M values
        /// </summary>
        MultiLineStringM = 2005,

        /// <summary>
        /// Represents a multi polygon with M values
        /// </summary>
        MultiPolygonM = 2006,

        /// <summary>
        /// Represents a geometry collection with M values
        /// </summary>
        GeometryCollectionM = 2007,

        /// <summary>
        /// A circular string with M values
        /// </summary>
        CircularStringM = 2008,

        /// <summary>
        /// A compound curve with M values
        /// </summary>
        CompoundCurveM = 2009,

        /// <summary>
        /// A curve polygon with M values
        /// </summary>
        CurvePolygonM = 2010,

        /// <summary>
        /// A multi curve with M values
        /// </summary>
        MultiCurveM = 2011,

        /// <summary>
        /// A multi surface with M values
        /// </summary>
        MultiSurfaceM = 2012,

        /// <summary>
        /// A curve with M values
        /// </summary>
        CurveM = 2013,

        /// <summary>
        /// A surface with M values
        /// </summary>
        SurfaceM = 2014,

        /// <summary>
        /// Represents a polyhedral surface with M values
        /// </summary>
        PolyhedralSurfaceM = 2015,

        /// <summary>
        /// Represents a polyhedral surface with M values
        /// </summary>
        PolyhedronM = PolyhedralSurfaceM,

        /// <summary>
        ///  Represents a triangulated irregular network with M values
        /// </summary>
        TriangulatedIrregularNetworkM = 2016,

        /// <summary>
        /// Represents a triangle with M values
        /// </summary>
        TriangleM = 2017,

        /// <summary>
        /// Represents geometry with Z and M values
        /// </summary>
        GeometryZM = 3000,

        /// <summary>
        /// Represents a point with Z and M values
        /// </summary>
        PointZM = 3001,

        /// <summary>
        /// Represents a line string with Z and M values
        /// </summary>
        LineStringZM = 3002,

        /// <summary>
        /// Represents a polygon with Z and M values
        /// </summary>
        PolygonZM = 3003,

        /// <summary>
        /// Represents a multi point with Z and M values
        /// </summary>
        MultiPointZM = 3004,

        /// <summary>
        /// Represents a multi line string with Z and M values
        /// </summary>
        MultiLineStringZM = 3005,

        /// <summary>
        /// Represents a multi polygon with Z and M values
        /// </summary>
        MultiPolygonZM = 3006,

        /// <summary>
        /// Represents a geometry collection with Z and M values
        /// </summary>
        GeometryCollectionZM = 3007,

        /// <summary>
        /// A circular string with Z and M values
        /// </summary>
        CircularStringZM = 3008,

        /// <summary>
        /// A compound curve with Z and M values
        /// </summary>
        CompoundCurveZM = 3009,

        /// <summary>
        /// A curve polygon withZ and M values
        /// </summary>
        CurvePolygonZM = 3010,

        /// <summary>
        /// A multi curve with Z and M values
        /// </summary>
        MultiCurveZM = 3011,

        /// <summary>
        /// A multi surface with Z and M values
        /// </summary>
        MultiSurfaceZM = 3012,

        /// <summary>
        /// A curve with Z and M values
        /// </summary>
        CurveZM = 3013,

        /// <summary>
        /// A surface with Z and M values
        /// </summary>
        SurfaceZM = 3014,

        /// <summary>
        /// Represents a polyhedral surface with Z and M values
        /// </summary>
        PolyhedralSurfaceZM = 3015,

        /// <summary>
        /// Represents a polyhedral surface with Z and M values
        /// </summary>
        PolyhedronZM = PolyhedralSurfaceZM,

        /// <summary>
        /// Represents a triangulated irregular network with Z and M values
        /// </summary>
        TriangulatedIrregularNetworkZM = 3016,

        /// <summary>
        /// Represents a triangle with Z and M values
        /// </summary>
        TriangleZM = 3017,

        /// <summary>
        /// A projected coordinate reference system (X,Y)
        /// </summary>
        ProjectedCoordinateReferenceSystem = 5000,

        /// <summary>
        /// A geographic coordinate reference system (Long,Lat)
        /// </summary>
        GeographicCoordinateReferenceSystem = 5001,

        /// <summary>
        /// A geocentric coordinate reference system (X,Y,Z)
        /// </summary>
        GeocentricCoordinateReferenceSystem = 5002,

        /// <summary>
        /// A datum
        /// </summary>
        Datum = 5003,

        /// <summary>
        /// A projection
        /// </summary>
        Projection = 5004,

        /// <summary>
        /// A parameter
        /// </summary>
        Parameter = 5005,

        /// <summary>
        /// A spheroid
        /// </summary>
        Spheroid = 5006,

        /// <summary>
        /// A prime meridian
        /// </summary>
        PrimeMeridian = 5007,

        /// <summary>
        /// A unit of measure
        /// </summary>
        Unit = 5008,

        /// <summary>
        /// The authority
        /// </summary>
        Authority = 5009,

        /// <summary>
        /// A parameterized math transform
        /// </summary>
        ParameterizedMathTransform = 5010,

        /// <summary>
        /// A pass through math transform
        /// </summary>
        PassThroughMathTransform = 5011,

        /// <summary>
        /// A concatenated math transform
        /// </summary>
        ConcatenatedMathTransform = 5012,

        /// <summary>
        /// An inverse math transform
        /// </summary>
        InverseMathTransform = 5013,

        /// <summary>
        /// A vertical coordinate system
        /// </summary>
        VerticalCoordinateSystem = 5014,

        /// <summary>
        /// A vertical datum
        /// </summary>
        VerticalDatum = 5015,

        /// <summary>
        /// A compound coordinate system
        /// </summary>
        CompoundCoordinateSystem = 5016,

        /// <summary>
        /// An axis in a coordinate reference system
        /// </summary>
        Axis = 5017,

        /// <summary>
        /// A Bursa Wolf transformation
        /// </summary>
        ToWgs84Transform = 5018,

        /// <summary>
        /// A fitted coordinate system
        /// </summary>
        FittedCoordinateSystem = 5019,

        /// <summary>
        /// A local coordinate system
        /// </summary>
        LocalCoordinateSystem = 5020,

        /// <summary>
        /// A local datum
        /// </summary>
        LocalDatum = 5021,

        /// <summary>
        /// Represents the GraphRoot
        /// </summary>
        GraphRoot = 9000,

        /// <summary>
        /// Represents an empty value
        /// </summary>
        Empty = 9001,

        /// <summary>
        /// Represents a value
        /// </summary>
        Value = 9002,

        /// <summary>
        /// Represents a value set
        /// </summary>
        ValueSet = 9003
    }
}